package com.aizhixin.lab.task.repository;

import com.aizhixin.lab.task.entity.TaskFile;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;


public interface TaskFileRepository extends JpaRepository<TaskFile, String> {
	
	List<TaskFile> findAllByDeleteFlagAndTaskQuestionId(Integer deleteFlag,String taskQuestionId);
	List<TaskFile> findAllByDeleteFlagAndTaskIdOrderByOrderNumAsc(Integer deleteFlag,String taskId);
	List<TaskFile> findAllByDeleteFlagAndTaskChoiceId(Integer deleteFlag,String taskChoiceId);
}
